Skip to content

docs(api): deprecate the inline ZIP downloads; document the CDN bundl… - #200

Open
finalerock44 wants to merge 3 commits into
mainfrom
docs/deprecate-inline-zip-2139
Open

finalerock44 wants to merge 3 commits into
mainfrom
docs/deprecate-inline-zip-2139

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

…e flow

GET /results/:uploadId/html-report and POST /results/:uploadId/download are deprecated, with removal targeted for 1 March 2027. Their responses carry Deprecation, Sunset and Link headers.

Their replacement is now documented: get a signed manifest from artifacts-bundle or report-bundle, then POST it to bundleUrl for the ZIP. The OpenAPI spec gains both operations, a BundleManifest schema, the 413 and 501 answers, and the deprecation headers. CI-only keys reach the bundle manifests, as the access summary now says. The endpoints are listed on Deprecations & Removals.

…e flow

GET /results/:uploadId/html-report and POST /results/:uploadId/download
are deprecated, with removal targeted for 1 March 2027. Their responses
carry Deprecation, Sunset and Link headers.

Their replacement is now documented: get a signed manifest from
artifacts-bundle or report-bundle, then POST it to bundleUrl for the ZIP.
The OpenAPI spec gains both operations, a BundleManifest schema, the 413
and 501 answers, and the deprecation headers. CI-only keys reach the
bundle manifests, as the access summary now says. The endpoints are
listed on Deprecations & Removals.
@finalerock44 finalerock44 self-assigned this Nov 24, 2026
@claude

claude Bot commented Nov 24, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Note for the reviewer, as CLAUDE.md asks: this PR names endpoints the rest of the docs don't use yet (GET /results/:uploadId/artifacts-bundle, GET /results/:uploadId/report-bundle, and the CDN POST https://cdn.devicecloud.dev/bundle). Please confirm they exist and behave as described, including the 9,000-file limit, the one-hour manifest expiry, and the 401/403/400/502 CDN errors.

🤖 Generated with Claude Code

artifacts-bundle and report-bundle have been in production for months and
are how the dcd CLI downloads, but the REST API docs only showed the inline
ZIP endpoints. Adds "Download ZIPs through the CDN" to Results (manifest
request, then POST to bundleUrl; filters, expiry, 404/413, the CDN's error
statuses; curl + jq and Python examples), points the two inline downloads
at it with a tip, and adds getArtifactsBundle and getReportBundle to the
OpenAPI description, including the CI key scope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant